package practice.lambda;

//内部类
public class NstInner {
    int b = 5;

    public void show2(){
        Test2 test2 = new Test2();
        test2.show();
    }

    class Test2{
        int anInt =4;
        public void show(){
            b =7;
            System.out.println(NstInner.this.b);
        }
    }

    public static void main(String[] args) {
        NstInner test = new NstInner();
        test.show2();
    }
}
